//用户相关操做api
import axios from "../request";

// 前台登入
export const login = (user) => {
    // console.log(user)
    return axios({
        method: "post",
        url: "/login",
        params: {
            password: user.password,
            account: user.username,
        }
        // data: {
        //     password: user.password,
        //     account: user.username,
        // },
    });
};
